
body {padding:0.6em 0 1em 0; background:#FAEADB;}
#container { padding:0;}

/**** in LAB *****/
::-webkit-input-placeholder { color:    #FFF;}
:-moz-placeholder { color:    #FFF;  opacity:  1;}
::-moz-placeholder {color:    #FFF;   opacity:  1;}
:-ms-input-placeholder {color:    #FFF;}

/***** Nav Dots ******/
.nav-dots { 
	width:auto;
	text-align:center;
}
	.nav-dots .single-dot {
		display: inline-block;
		margin: 0 3px;
		font-size: 0;
		height: 8px;
		width: 8px;
		border-radius:99px;
		border: 1px #EB6841 solid;
	}
	.nav-dots .single-dot.active {
		background: #EB6841;
	}


.form-notice {
	position: relative;
	margin:5px 0 0 0;
	padding:0 6px;
	width:100%;
	line-height: 1.8em;
	background: #ffffcc;
	box-shadow:0 0 0px 1px #E4DA72 inset;
	color:#ff3300;
	border-radius:5px;
	box-sizing:border-box;
	text-align: center;
	transition: all 0.3s;
}

.form-notice:empty , .form-notice.notice-hidden{
	font-size:0;
	height:0;
}
.form-notice:before {
	content:' ';
	position: absolute;
	top: -4px; left:12px;
	height: 8px; width:8px;
	transform: rotate(-45deg);
	background: #ffffcc;
	box-shadow: -1px 1px 0 0 #E4DA72 inset;
}
.form-notice:empty:before , .form-notice.notice-hidden.form-notice:before {
	display:none;
}

#poll-title { width:100%;}
#poll-description { width:100%;}
#poll-type { width:8em;}
#poll-people { width:5em;}
#poll-notice { width:13em;}
#poll-timespan { width:100%; box-sizing:border-box; z-index:2;}

#option-list { list-style:none; }
#option-con-0 a {visibility:hidden;}

.delItem {color:red;}

.field-name {
	line-height:1.2em;
	color:#EB6942;
	font-size:1em;
}

h3 {margin-bottom: 0;}
h4 {
	color:#EB6942;
	font-size:1.0em;
	font-weight:normal;
	margin-bottom:0.3em;
}


/*** 上一步 下一步 ***/
.slide-tip { 
	background:#FFF;
	width: 40%;
	min-width: 10em;
	text-align: center;
	line-height: 1.6em;
	color: #999;
	margin: 5px auto 8px auto;
	font-size:0.8em;
}

.step-guide {
	display: table;
	width:100%;
	margin-bottom:1.7em;
	box-sizing:border-box;
}
	.step-guide:after {
		content:' ';
		display:block;
		clear:both;
		overflow:hidden;
		height:0;
	}

	.step-guide .prev-btn-wrap {
		display: none;
		/*display: table-cell;*/
		text-align:center;
	}
	.step-guide .next-btn-wrap {
		display: table-cell;
		text-align:center;
	}
	.step-guide .highlight-btn {
		width:7em;
		line-height:2.6em;
	}
/*** Swiper Section ***/
.swiper-flow {
	position:relative;
	width:100%;
	overflow:hidden;
}

	.swiper-line {
		position:relative;
		width:100%;
		top:0;
		white-space: nowrap;
		vertical-align:top;
		will-change: transform;
		transition: 0.3s all;
	}

	.swiper-block {
		display:inline-block;
		overflow: hidden;
		max-height: 99em;
		width:100%;
		box-sizing:border-box;
		padding: 6px 1em 1em 1em;
		vertical-align:top;
		transition: 0.6s all;
		/*transition-delay: 1s;*/
		transition-timing-function: cubic-bezier(.17,.84,.44,1);
	}

/*[data-current-index='1'].swiper-line .swiper-block:nth-child(1){ max-height:3000vh;}
[data-current-index='1'].swiper-line .swiper-block:nth-child(2){ max-height:3000vh;}
[data-current-index='1'].swiper-line .swiper-block:nth-child(3){ max-height: 80vh;}
[data-current-index='2'].swiper-line .swiper-block:nth-child(1){ max-height: 80vh;}
[data-current-index='2'].swiper-line .swiper-block:nth-child(2){ max-height:3000vh;}
[data-current-index='2'].swiper-line .swiper-block:nth-child(3){ max-height: 80vh;}
[data-current-index='3'].swiper-line .swiper-block:nth-child(1){ max-height: 80vh;}
[data-current-index='3'].swiper-line .swiper-block:nth-child(2){ max-height:3000vh;}
[data-current-index='3'].swiper-line .swiper-block:nth-child(3){ max-height:3000vh;}
.swiper-flow.swiper-drag-active .swiper-block { max-height:300vh !important;}*/

[data-current-index='1'].swiper-line .swiper-block:nth-child(1){ height:auto;}
[data-current-index='1'].swiper-line .swiper-block:nth-child(2){ height:90vh;}
[data-current-index='1'].swiper-line .swiper-block:nth-child(3){ height:90vh;}
[data-current-index='2'].swiper-line .swiper-block:nth-child(1){ height:90vh;}
[data-current-index='2'].swiper-line .swiper-block:nth-child(2){ height:auto;}
[data-current-index='2'].swiper-line .swiper-block:nth-child(3){ height:90vh;}
[data-current-index='3'].swiper-line .swiper-block:nth-child(1){ height:90vh;}
[data-current-index='3'].swiper-line .swiper-block:nth-child(2){ height:90vh;}
[data-current-index='3'].swiper-line .swiper-block:nth-child(3){ height:auto;}
.swiper-flow.swiper-drag-active .swiper-block { height:auto !important;}


/*** float selector  ***/
.green-selector {
	display:inline-block;
	border:none;
	color:#B2D367;
	line-height:2em;
	padding-right:1.8em;
	background-position:right center;
	background-image:url(img/green-arrow.png);
	background-repeat:no-repeat;
	background-size:1.6em;
}
.red-selector {
	display:inline-block;
	border:none;
	color:#EC6941;
	line-height:2em;
	padding-right:1.8em;
	background-position:right center;
	background-image:url(img/red-arrow.png);
	background-repeat:no-repeat;
	background-size:1.6em;
}
.float-select {
	display:block;
	position:absolute;
	height:100%;
	top:0;
	opacity:0;
}


/** section ONE and TWO***/

#poll-type {float:right;}

.table-form {
	width:100%;
	padding: 0;
	margin-bottom: 1.8em;
	counter-reset: options 0;
}

	.table-form td {
		position:relative;
		padding:5px 0;
	}

	.table-form th {
		width:2.2em;
		color:#EB6942;
		text-align:right;
		vertical-align:top;
		padding:5px 5px 5px 0;
		font-weight:normal;
		line-height:2em;
		font-size: 1.1em;
	}
	.table-form .option-index {
		counter-increment: options;
		font-size:1.1em;
		padding:0 0.3em 0 0;
		vertical-align:middle;
	}
	.table-form .option-index:before {
		content:'选项' counter(options);
	}

	.table-form input, .table-form textarea {
		width:100%;
		border:none;
		padding:0.8em 0.6em;
		border-radius:0.6em;
		background:#F8E4D6;
		font-size:1rem;
		line-height:1.2em;
		box-sizing:border-box;
	}

	.table-form .close-btn {
		width:2em;
		background:url(img/del-option.png) center center no-repeat;
		background-size:1.6em;
	}
		.table-form .add-btn {
			line-height:2em;
			text-decoration:none;
			background: url(img/add-option.png) left center no-repeat;
			background-size: 1.8em;
			color:#EB6942;
			padding-left:2.2em;
		}

	.table-form .blank-row {
		font-size:1em;
		line-height:0.6em;
	}


	.options-form {
		padding:0;
		margin-bottom: 1.2em;
	}

	#option-con-0 { display:none;}
	#option-con-0 .close-btn { visibility:hidden;}
	#option-con-0 td:before {
		content:'添加新条目';
		display:block;
		position:absolute;
		left:0;
		width:100%;
		line-height:2.4em;
		text-align:center;
		color:#aaa;
	}

	.vote-type-radio {
		display: table;
		width:100%;
		border: #F19A76 2px solid;
		color: #EB6841;
		border-radius: 5px;
		border-spacing: 0;
		text-align: center;
		box-sizing: border-box;
	}
		.vote-type-radio label{
			display: table-cell;
			width: 33.3%;
			line-height: 2em;
		}
		.vote-type-radio input[type="radio"] {
			display: none;
		}
		.vote-type-radio input:checked + label {
			background: #FBA288;
			color: #ffffff;
		}
			


/*** section THREE ***/

.setting-table  {
	width:100%;
	box-sizing: border-box;
	margin-bottom: 1em;
}
	.setting-table tr { line-height:3em; }
	.setting-table .field-name {
		text-align:right;
		width:50%;
		padding-right: 0.5em;
		box-sizing: border-box;
		vertical-align:middle;
	}
	.setting-table .field-input {
		position:relative;
		padding-left: 0.5em;
		box-sizing: border-box;
		vertical-align:middle;
	}

	#setting li {
		position:relative;
		padding:5px;
	}

	.switch {
		display:inline-block;
		width:auto;
		color:#EB6942;
		line-height:2em;
		padding-left:1.6em;
		vertical-align:middle;
		background:url('img/checkbox-light.png');
		background-position:left center;
		background-repeat:no-repeat;
		background-size:1.5em 1.5em;
	}
	.switch.checked {background-image:url('img/checkbox-light-checked.png');}
	.switch input { display:none;}

	.input {
		line-height:2.4em;
		border:none;
		padding:0 0.6em;
		border-radius:5px;
		background:#F8E4D6;
		font-size:1em;
		box-sizing:border-box;
	}
	#poll-people {text-align:center;}
	

	/** time pickers and its tips **/
	/*.time-picker-tips {
		display:table;
		position:relative;
		margin: 2em 0 0em 0;
		padding: 0;
		width:100%;
		box-sizing:border-box;
	}
		.time-picker-tips .tip-cell { width:33.3%; display:table-cell; text-align:center;}
		.time-picker-tips .red-select { width:90%; }*/
	
	.field-tip {
		display:block;
		margin:1em 0 0 0;
		padding: 0 0.3em;
		position:relative;
		width:100%;
		line-height: 1.8em;
		box-sizing:border-box;
		color:#EC6941;
	}


	.time-picker {
		display:table;
		width:100%;
		position:relative;
		margin: 0;
		padding: 0; 
		box-sizing:border-box;
		padding-bottom: 0.3em;
	}
		.time-picker .bg-bar {
			font-size:0;
			position:absolute;
			top:1rem; left:2rem; right:2rem;
			border-top:2px solid #F19A76;
			z-index:0;
			margin: 0 2em;
		}
		.picker-block { 
			display:table-cell;
			position:relative;
			padding:0;
			box-sizing:border-box;
			text-align:center;
			color: #EC6941;
			z-index:1;
			/*background:url(img/selector-arrow.png) bottom center no-repeat;*/
		}

		.picker-block.timed { text-align:left; }
		.picker-block.timeh { text-align:center; }
		.picker-block.timem { text-align:right; }

		#poll-timed , #poll-timem, #poll-timeh {
			width:80%;
			left:10%;
			height:100%;
		}

		.time-picker .float-label {
			display:inline-block;
			min-width:3em;
			width:90%;
			padding:0;
			line-height:2em;
			border:2px solid #F19A76;
			border-radius:8px;
			background:white;
			color: #EC6941;
			box-sizing:border-box;
			text-align:center;
		}
	/*#poll-timed {border-right:none; border-radius:5px 0 0 5px;}
	#poll-timeh {border-right:none; border-radius:0;}
	#poll-timem {border-radius:0 5px 5px 0;}*/

	.setting_member_uplimit {
		margin-top: 1em;
	}

	.checkboxes {
		text-align:center;
		margin-bottom: 0em;
		color: #B2D367;
		line-height: 1.4em;
	}
		.checkboxes .switch{
			line-height: 1.4em;
			margin-bottom: 0.6em;
		}

	#new .circle-bg { margin-top:0; }
	#new .circle-btn {	background-image:url(img/new-submit.png);}

	.conspicuous-error {
		display:block;
		position:absolute; 
		padding: 0.6em 0;
		bottom:0; left:0; right:0;
		background:#FF0000;
		color: #FFFFFF;
		text-align: center;
		font-size: 0.8em;
		border:none;
		transition: 0.2s all;
	}



/*** Share Section ***/
#share{ padding: 1em; width:auto;}

#share .card-shape {
	padding:1em 0.5em 3em 0.5em;
	border-radius:1em 1em 0 0;
	margin: 1em 0em 0 0;
}

#share .head-img {
	width:50%;
	max-width:180px;
}
#share-url { word-break:break-all;}

#share .circle-btn {
 	background-image:url(img/share-submit.png);
}
